package hx.bean;

import java.util.List;

/**
 * 封装了简单的分页信息,前端的分页控件仅需要这些信息就OK
 *
 * @author HX<titanrain@163.com>
 */
public class SimplePage {

    private long pageNo;
    private int pageSize;
    private long recordCount;
    private List recordList;

    public SimplePage(PageParam pageParam, long recordCount, List recordList) {
        this.pageNo = pageParam.pageNo();
        this.pageSize = pageParam.pageSize();
        this.recordCount = recordCount;
        this.recordList = recordList;
    }
}
